package com.erp.app.report.genericInquiry.inquirySp.ejb;

import com.erp.framework.model.pk.SimpleBasePk;

public class InquirySpPK implements SimpleBasePk
{
	public String inquiryType;

	public String getInquiryType() { return inquiryType; }

	public InquirySpPK(String inquiryType)
	{
		this.inquiryType = inquiryType;
	}

	public int hashCode() {
		return (this.inquiryType).hashCode();
	}

	public boolean equals(Object obj) {
		if (obj instanceof InquirySpPK) {
			InquirySpPK pk2 = (InquirySpPK) obj;
			return (this.inquiryType != null && this.inquiryType.equals(pk2.inquiryType));			
		}
		return false;
	}

	public String toString() {
		return "{inquiryType = "+this.inquiryType+"}";
	}

}
